class Human{
    name: string;
    constructor( name: string ) {
        this.name = name
    }

    run(): string{
        return `${this.name}在运动`
    }
}

class HumenChildren extends Human{
    constructor( name: string ) {
        super(name)//初始化父类的构造函数
    }
}